Fix BMConfigParser.setTemp() broken in a5773999#1928
Conversation
9e2cbef to
515f7c2
Compare
|
Another interesting failure in buildbot: https://buildbot.bitmessage.org/#/builders/25/builds/3740 |
That's simply because the test isn't deterministic, it can randomly happen. One possible fix is to test the API with the mock backend, we can try some time later. |
I know. You didn't believe me when I said that code in #1864 is a garbage... |
|
What about hidden addresses? I want to rewrite this part as well: https://github.com/Bitmessage/PyBitmessage/blob/v0.6/src/bmconfigparser.py#L106 |
|
|
PeterSurda
left a comment
There was a problem hiding this comment.
Please squash before merging.
|
Do you need anything else from me before merging this? |
also empty _temp in BMConfigParser._reset().
- remove meaningless comments, rename strange args, fix line lengths, - revert BMConfigParser.addresses() entanglement, - revert BMConfigParser read_file -> readfp alias.
433f94d to
3295bec
Compare
- for PEP8 compatibility, rewrite copypasted docstring, - remove unused configfile slot, move pylint hint, - define TestConfig.setUp(), creating BMConfigParser obj,
3295bec to
e778ee9
Compare
|
Sorry, I got distracted a bit. Is this squashed enough now? |
Hi!
I reverted some changes in
bmconfigparserfrom previous commits. Particularly those, breaking the logic ofsetTemp(), which is used in proxyconfig plugin and for network restart after changing the proxy type.Done some formatting for PEP8. In this regard, the question arose: what is hidden addresses and why it's only for python3?